package com.dlc.shop.bean.enums;


/**
 * 积分详情状态
 * @author Yami
 */
public enum UserScoreStatus {

    /**
     * 过期
     */
    EXPIRED(-1),
    /**
     * 订单抵现
     */
    ORDER_CREDIT(0),

    /**
     * 正常
     */
    NORMAL(1),

    /**
     * 订单抵现已结算
     */
    ORDER_CREDIT_SETTLE(2)
    ;

    private final Integer num;

    public Integer value() {
        return num;
    }

    UserScoreStatus(Integer num) {
        this.num = num;
    }
}
